Skip to content

Conversation

@aryamohanan
Copy link
Contributor

@aryamohanan aryamohanan commented Oct 24, 2025

Added logic to detect and skip tracing for asset-related requests based on the request path.

Details:

  • Introduced a check to identify browser-generated asset requests (e.g., images, CSS, JS, source maps, etc.).

  • If the request path matches any of these extensions, the span is skipped to reduce unnecessary tracing noise.

refs https://jsw.ibm.com/browse/INSTA-48358

@aryamohanan aryamohanan marked this pull request as ready for review October 24, 2025 10:40
@aryamohanan aryamohanan requested a review from a team as a code owner October 24, 2025 10:40
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube Cloud

@aryamohanan
Copy link
Contributor Author

The Lambda Function URL creates an entry span for all requests handled by the Lambda, including 404 or asset calls (e.g., favicon.ico). This is same as collector, Instana traces all incoming requests by default.
Span filtering can be used to exclude such paths in the collector, but it’s not yet supported for AWS Lambda.

I'm closing this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants